<template>
    <div>
        <top-label v-model="index">
            <span :slot="0">四色图</span>
            <span :slot="1">隐患点排查</span>
            <span :slot="2">隐患点排查统计</span>
        </top-label>
        <el-row>
            <four-color v-show="index===0"></four-color>
            <investigation-body v-show="index===1"></investigation-body>
            <check-statistics v-show="index===2"></check-statistics>
        </el-row>
    </div>
</template>

<script>
    import TopLabel from "~/components/TopLabel";
    import FourColor from "~/views/sefety-technology/hidden-danger-investigation/FourColor";
    import InvestigationBody from "~/views/sefety-technology/hidden-danger-investigation/InvestigationBody";
    import CheckStatistics from "~/views/sefety-technology/hidden-danger-investigation/CheckStatistics";
    export default {
        name: "HiddenDangerInvestigation",
        components:{
            CheckStatistics,
            InvestigationBody,
            FourColor,
            TopLabel,
        },
        data(){
            return{
                index:0
            }
        }
    }
</script>

<style scoped>

</style>